package com.cskaoyan.service;


import com.cskaoyan.bean.goods.Bo.BaseParamBo;
import com.cskaoyan.bean.goods.Bo.goodsUpdate.GoodsUpdateBo;
import com.cskaoyan.bean.goods.Bo.goodsCreate.GoodsCreateBo;
import com.cskaoyan.bean.goods.Bo.goodsUpdate.GoodsUpdateOfGoodsBo;
import com.cskaoyan.bean.goods.vo.GoodsListFromTopicVO;
import com.cskaoyan.bean.goods.vo.catVo.CatAndBrandVo;
import com.cskaoyan.bean.goods.vo.goods.GoodsListVo;
import com.cskaoyan.bean.goods.vo.detail.GoodsDetailVo;

import java.io.IOException;


/**
 * @Author: 蒋镇泽
 * @Description:
 * @Date: 2022-06-05-15:51
 */
public interface GoodsService {
    GoodsListVo query(BaseParamBo baseParam);

    CatAndBrandVo queryCatAndBrand();


    void insertGoods(GoodsCreateBo goodsCreateBo);

    GoodsDetailVo queryGoodsDetail(Integer id) ;

    void updateGoods(GoodsUpdateBo goodsDetailVo);
    GoodsListFromTopicVO selectbyId(Integer good);

    void deleteGoods(GoodsUpdateOfGoodsBo goodsdeleteOfGoodsBo);
}
